<!DOCTYPE HTML>
<meta charset="utf-8">
<html>
<head>
	<title>Cookie测试页面1</title>
</head>
<body>

<button id="btn1">get cookie</button>
<label for="" id="label1"></label>
<label for="" id="label2"></label>
	

<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.js"></script>
<script>
	$("#btn1").click(function function_name(argument) {
		// body...
		$("#label1").text($.cookie("text1"));
		$("#label2").text($.cookie("text2"));
	});
</script>
</body>
</html>